import { Slot } from "vue";

const TabsKey = "TabsKey";

interface TabPanesContext {
  name: string;
  titleSlot?: Slot;
  changeShow(visible: boolean): void;
}

interface TabsContext {
  addPane(item: TabPanesContext): void;
  removePane(name: string): void;
}

export { TabsKey, TabsContext, TabPanesContext }